package org.sun.basic.model;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="t_navigation")
public class Navigation {
	
	private String id;
	private String name;
	private String code;
	private String pid;
	private String sort_no;
	private String remark;
	private String type;
	private String fun_url;
	
	public Navigation() {
		
	}

	public Navigation(String id, String name, String code, String pid, String sort_no, String remark, String type,
			String fun_url) {
		super();
		this.id = id;
		this.name = name;
		this.code = code;
		this.pid = pid;
		this.sort_no = sort_no;
		this.remark = remark;
		this.type = type;
		this.fun_url = fun_url;
	}

	@Id
	public String getId() {
		return id;
	}

	
	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getPid() {
		return pid;
	}

	public void setPid(String pid) {
		this.pid = pid;
	}

	public String getSort_no() {
		return sort_no;
	}

	public void setSort_no(String sort_no) {
		this.sort_no = sort_no;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getFun_url() {
		return fun_url;
	}

	public void setFun_url(String fun_url) {
		this.fun_url = fun_url;
	}

	@Override
	public String toString() {
		return "Navigation [id=" + id + ", name=" + name + ", code=" + code + ", pid=" + pid + ", sort_no=" + sort_no
				+ ", remark=" + remark + ", type=" + type + ", fun_url=" + fun_url + "]";
	}
	
	
	

}
